<?php
/**
 * Created by PhpStorm.
 * User: mac
 * Date: 2017/12/15
 * Time: 上午9:32
 */

require  '../vendor/autoload.php';

use Pheanstalk\Pheanstalk;


$pheanstalk = new Pheanstalk("127.0.0.1",11300);

$pheanstalk->useTube('mytube')->put('one',1024,10,3);

$pheanstalk->useTube('mytube')->put('two',1023);

$pheanstalk->useTube('mytube')->put('three',1025);

print_r($pheanstalk->stats());





